package org.codeart.pattern.chainresponsibility.common;

public class Client {

    public static void main(String[] args) {
        Handler handlerA = new ConcreteHandlerA();
        Handler handlerB = new ConcreteHandlerB();

        handlerA.setNextHandler(handlerB);
        handlerA.handleRequest("requestB");
    }

}
